import {get} from "../util/request"

//用户收藏歌单
export const getsingleAPI = (uid) => get (`/user/playlist?uid=${uid}`)

//用户取消收藏歌单
export const getmoverAPI = (id) => get(`/playlist/subscribe?t=2&id=${id}`);

export const getmoAPI = (id) => get(`/playlist/delete?id=${id}`);


//创建歌单
export const getestablishAPI = (name) => get (`/playlist/create?name=${name}`)

